package cn.edu.scau.cmi.wangmaoren.composite.safe;

public abstract class SafeComponent
{
	// (1)业务功能
	String doSomething()
	{
		return "I amd Safe Component!!!";
	}

	// (2)获取包含对象的功能
	SafeComponent getParent()
	{
		return null;
	}
}
